import HomePage from '../views/Home/index.vue'

//  const router = createRouter({
//     history: createWebHistory(import.meta.env.BASE_URL),
//     routes: [
//         {
//             path:'/',
//             name: 'home',
//             component: HomePage
//         },
//         {
//             path: '/about',
//             name: 'about',
//             componeent: ()=> import('../views/About/index.vue')
//         }
//     ]
// })

// export default router

export const routes: RouteRecordRaw[] =  [
        {
            path:'/',
            name: 'home',
            component: HomePage
        },
        {
            path: '/about',
            name: 'about',
            componeent: ()=> import('../views/About/index.vue')
        }
    ]


